<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../../../css/Content.css" />
		<script type="text/javascript" src="../../../js/jquery.min.js" ></script>
	</head>
	<body>
		<div id="Top">
			<div id="positionTop">
				<div onclick="window.location.href='Content.html';">概述</div>
				<div class="Topdiv-2">包</div>
				<div>类</div>
				<div>应用</div>
				<div>树</div>
				<div>弃用</div>
				<div>指数</div>
				<div>帮助</div>
			</div>
			<div id="TopEffect"></div>
		</div>
		<div id="Option">
			<div class="OptionText" onclick="window.location.href='package-summary.html';">上一个</div>
			<div class="OptionText">下一个</div>
			<div class="OptionText">是否打开多页面</div>
			<div id="OptionONOFF">
				<div id="OptionONOFFButton">
					
				</div>
				<div id="OptionONOFFButtonON">
					打开
				</div>
			</div>
		</div>
		<div id="Content">
			<h2>包名 noppes.npcs.api > 接口  IWorld</h2>
			<span>—— 公共接口：<b>IWorld</b></span>
			<div id="Contentbg">
				<h2>方法总结</h2>
				<table id="ContentTextTable" border="0" cellpadding="3" cellspacing="0" >
				<caption>
					<span>所有方法</span>
					<span class="tabLeft">实例方法</span>
					<span class="tabLeft">抽象方法</span>
				</caption>
    			<tbody>
		            <tr>
		                <th class="TableFirst">修饰符和类型</th>
		                <th class="TableLast">方法和描述</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	void
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(1310)'>广播broadcast</a>(java.lang.String message)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IItemStack</a>
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>制造物品createItem</a>(java.lang.String name, int damage, int size)</br>返回itemstack</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	void
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>爆炸explode</a>(double x, double y, double z, float range, boolean fire(是否有火焰), boolean grief)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IPlayer</a>[]
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>获取所有玩家getAllPlayers</a>()</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	java.lang.String
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>获取生物群落名getBiomeName</a>(int x, int z)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IBlock</a>
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>获取方框getBlock</a>(int x, int y, int z)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IEntity</a>
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>获取最近的生物getClosestEntity</a>(int x, int y, int z, int range, int type)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	float
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>获取光源值(强度)getLightValue</a>(int x, int y, int z)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	net.minecraft.world.World
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>获取世界getMCWorld</a>()</br>只能靠专业人士！</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IEntity</a>[]
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>获取近处的实体(们)getNearbyEntities</a>(int x, int y, int z, int range, int type)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IPlayer</a>
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>获取玩家getPlayer</a>(java.lang.String name)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	int
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>获取红石能源getRedstonePower</a>(int x, int y, int z)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IScoreboard</a>
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>获取记分板getScoreboard</a>()</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IData</a>
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>获取一个(储存乐了的)值getStoreddata</a>()</br>存储的数据在世界重新启动后仍然存在。</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IData</a>
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>获取缓存(临时)数据getTempdata</a>()</br>存储任何类型的数据，但是需要重新启动。</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	long
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>取时间getTime</a>()</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	long
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>取总时间getTotalTime</a>(不懂)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	boolean
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>是否白天isDay</a>()</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	boolean
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>是否下雨isRaining</a>()</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	void
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>removeBlock移除方块</a>(int x, int y, int z)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	void
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>setBlock置方块</a>(int x, int y, int z, java.lang.String name, int meta)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	void
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>setRaining置下雨</a>(boolean bo)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	void
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>setTime置时间</a>(long time)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	<a>IEntity</a>
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>spawnClone生成克隆？</a>(int x, int y, int z, int tab, java.lang.String name)</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	void
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(942)'>spawnParticle生成粒子</a>(java.lang.String particle, double x, double y, double z, double dx, double dy, double dz, double speed, int count)</br>每次调用时，都会将数据包从服务器发送到客户端。</th>
		            </tr>
		            <tr>
		                <td class="colFirst">
		                	void
		                </th>
		                <td class="colLast"><a onclick='$(window).scrollTop(2038)'>thunderStrike打雷</a>(double x, double y, double z)</th>
		            </tr>
		        </tbody>
		    </table>
			</div>
			<div id="Contentbg">
				<h2>方法详细</h2>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getNearbyEntities</div>
					<div class="ContentbgTexts">
						<a>IEntity</a>[] getNearbyEntities(int x,
						<p style="white-space: pre;">                                              int y,</p>
						<p style="white-space: pre;">                                              int z,</p>
						<p style="white-space: pre;">                                              int range,</p>
						<p style="white-space: pre;">                                              int type)</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getClosestEntity</div>
					<div class="ContentbgTexts">
						<a>IEntity</a>[] getClosestEntity(int x,
						<p style="white-space: pre;">                                           int y,</p>
						<p style="white-space: pre;">                                           int z,</p>
						<p style="white-space: pre;">                                           int range,</p>
						<p style="white-space: pre;">                                           int type)</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getTime</div>
					<div class="ContentbgTexts">
						long getTime()
						<p>返回值:</p>
						<p>世界时间</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">setTime</div>
					<div class="ContentbgTexts">
						void setTime(long time)
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getTotalTime</div>
					<div class="ContentbgTexts">
						long getTotalTime()
                        <p>返回值:</p>
						<p>总的世界时间（不会随着 /time set 而改变）</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">setBlock</div>
					<div class="ContentbgTexts">
						void setBlock(int x,
						<p style="white-space: pre;">                      int y,)</p>
						<p style="white-space: pre;">                      int z,)</p>
						<p style="white-space: pre;">                      java.lang.String name,)</p>
						<p style="white-space: pre;">                      int meta)</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">removeBlock</div>
					<div class="ContentbgTexts">
						void removeBlock(int x,
                        <p style="white-space: pre;">                              int y,)</p>
						<p style="white-space: pre;">                              int z)</p>
						<p>返回值:</p>
						<p>返回0到1之间的值。</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getPlayer</div>
					<div class="ContentbgTexts">
						<a>IPlayer</a> getPlayer(java.lang.String name)
						<p>参数:</p>
						<p>name - 要返回的玩家的名字。</p>
						<p>返回值:</p>
						<p>当没有找到有这个名字的玩家时返回null</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">isDay</div>
					<div class="ContentbgTexts">
						boolean isDay()
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">isRaining</div>
					<div class="ContentbgTexts">
						boolean isRaining()
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">setRaining</div>
					<div class="ContentbgTexts">
						void setRaining(boolean bo)
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">thunderStrike</div>
					<div class="ContentbgTexts">
						void thunderStrike(double x,
						<p style="white-space: pre;">                               double y,)</p>
						<p style="white-space: pre;">                               double z)</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">spawnParticle</div>
					<div class="ContentbgTexts">
						void spawnParticle(java.lang.String particle,
						<p style="white-space: pre;">                               double x,)</p>
                        <p style="white-space: pre;">                               double y,)</p>
						<p style="white-space: pre;">                               double z,)</p>
						<p style="white-space: pre;">                               double dx,)</p>
						<p style="white-space: pre;">                               double dy,)</p>
						<p style="white-space: pre;">                               double dz,)</p>
						<p style="white-space: pre;">                               double speed,)</p>
						<p style="white-space: pre;">                               int count)</p>
						<p>每次调用时，都会将数据包从服务器发送到客户端。 大概不应该用这个太多。</p>
						<p>参数:</p>
						<p>particle - 粒子名称。 粒子名称列表：<a href="http://minecraft.gamepedia.com/Particles" target="view_window">http://minecraft.gamepedia.com/Particles</a></p>
						<p>x - x的位置</p>
						<p>y - y的位置</p>
						<p>z - z的位置</p>
						<p>dx - 通常用于x运动</p>
						<p>dy - 通常用于y运动</p>
						<p>dz - 通常用于z运动</p>
						<p>speed - 粒子的速度，通常在0和1之间</p>
						<p>count - 粒子计数</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">broadcast</div>
					<div class="ContentbgTexts">
						void broadcast(java.lang.String message)
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getScoreboard</div>
					<div class="ContentbgTexts">
						<a>IScoreboard</a> getScoreboard()
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getTempdata</div>
					<div class="ContentbgTexts">
						<a>IData</a>getTempdata()
						<p>存储任何类型的数据，但会重新启动</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getStoreddata</div>
					<div class="ContentbgTexts">
						<a>IData</a>getStoreddata()
						<p>存储的数据在世界重新启动时仍然存在。与tempdata不同，只有字符串和数字可以被保存。</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">createItem</div>
					<div class="ContentbgTexts">
						<a>IItemStack</a>createItem(java.lang.String name,
						<p style="white-space: pre;">                                     int damage,)</p>
						<p style="white-space: pre;">                                     int size)</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">explode</div>
					<div class="ContentbgTexts">
						void explode(double x,
                        <p style="white-space: pre;">                      double y,)</p>
						<p style="white-space: pre;">                      double z,)</p>
						<p style="white-space: pre;">                      float range,)</p>
						<p style="white-space: pre;">                      boolean fire,)</p>
						<p style="white-space: pre;">                      boolean grief)</p>
						<p>参数:</p>
						<p>x - x的位置</p>
						<p>y - y的位置</p>
						<p>z - z的位置</p>
						<p>range - 爆炸范围</p>
						<p>fire - 爆炸是否造成火</p>
						<p>grief - 爆炸是否损坏方块</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getAllPlayers</div>
					<div class="ContentbgTexts">
						<a>IPlayer</a>[] getAllPlayers()
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getBiomeName</div>
					<div class="ContentbgTexts">
						java.lang.String getBiomeName(int x,
						<p style="white-space: pre;">                                                    int z)</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">spawnClone</div>
					<div class="ContentbgTexts">
						<a>IEntity</a>spawnClone(int x,
						<p style="white-space: pre;">                                  int y,)</p>
                        <p style="white-space: pre;">                                  int z,)</p>
						<p style="white-space: pre;">                                  int tab,)</p>
						<p style="white-space: pre;">                                  java.lang.String name)</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getRedstonePower</div>
					<div class="ContentbgTexts">
						int getRedstonePower(int x,
						<p style="white-space: pre;">                                     int y,)</p>
                        <p style="white-space: pre;">                                     int z,)</p>
                        <p>返回值:</p>
						<p>值在0和16之间。</p>
					</div>
				</div>
				<div class="ContentbgText">
					<div class="ContentbgTextTop">getMCWorld</div>
					<div class="ContentbgTexts">
						net.minecraft.world.World getMCWorld()
						<p>只能靠专业人士！</p>
						<p>返回值:</p>
						<p>返回 minecrafts 世界。</p>
					</div>
				</div>
			</div>
		</div>
	</body>
		<script type="text/javascript" src="../../../js/Content.js" ></script>
</html>
